﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EMailSender.aspx.cs" Inherits="EMailSender" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
      <asp:Label ID="lblFrom" runat="server" Text="From:" AssociatedControlID="txtFrom"></asp:Label>
      <div>
        <asp:TextBox ID="txtFrom" runat="server" Width="400px" ReadOnly="True"></asp:TextBox>
      </div>

      <asp:Label ID="lblTo" runat="server" Text="To:" AssociatedControlID="txtTo"></asp:Label>
      <div>
        <asp:TextBox ID="txtTo" runat="server" Width="400px"></asp:TextBox>
      </div>

      <asp:Label ID="lblSubject" runat="server" Text="Subject:" AssociatedControlID="txtSubject"></asp:Label>
      <div>
        <asp:TextBox ID="txtSubject" runat="server" Width="400px"></asp:TextBox>
      </div>

      <asp:Label ID="lblMessage" runat="server" Text="Message:" AssociatedControlID="txtMessage"></asp:Label>
      <div>
        <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" Rows="10" Width="400px"></asp:TextBox>
      </div>

      <div>
        <asp:Button ID="btnSend" runat="server" Text="Send" onclick="btnSend_Click" />
      </div>
    
      <div>
        <asp:Label ID="lblResult" runat="server" ForeColor="Red"></asp:Label>
      </div>
  </div>
    </form>
</body>
</html>
